
* {
    margin: 0;
    padding: 0;
}

.top {
    background-image: url("../img/banner_qtah.jpg");
    background-size: 100% 100%;
    height: 808px;
    color: white;
}

/*>表示直接div*/
.top > div:first-child {


    display: flex;
    justify-content: center;
}

.top > div:first-child > div {
    width: 1000px;
    height: 141px;
    /*border: 1px solid blue;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top > div:first-child > div > div:first-child {
    height: 141px;
}

.top > div:first-child > div > div:nth-child(2) {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}

.top > div:first-child > div > div:nth-child(2) > div:first-child {
    margin: 0 5px 0 0;
}

/*导航*/
.top > div:nth-child(2) {
    height: 50px;
    background-color: rgb(230, 145, 55);
    display: flex;
    justify-content: center;
}

.top > div:nth-child(2) > div:nth-child(1) {
    width: 1000px;
    height: 50px;
    display: flex;
    line-height: 50px;
    text-align: center;
}

.top > div:nth-child(2) > div:nth-child(1) > div {
    /*border: 1px solid blue;*/
    width: 100px;
    height: 50px;
    /*margin: 0 20px;*/
}

.top > div:nth-child(2) > div:nth-child(1) > div:hover {
    color: rgb(230, 145, 55);
    cursor: pointer;
    background-color: white;
}

/*
1.项目周期
2.html   div 盒子模型  外边距内边距边框
3.css   选择器
  宽度
  高度
  颜色
  背景
  手势
  flex   上下剧中 左右居中
  行高

 */

.top > div:nth-child(3) {
    display: flex;
    justify-content: center;
}

.top > div:nth-child(3) > div:nth-child(1) {
    /*border: 1px solid red;*/
    width: 1000px;
}

.top > div:nth-child(3) > div:nth-child(1) > div:nth-child(1) {

    font-size: 40px;
    margin: 50px 0 30px;
}

.top > div:nth-child(3) > div:nth-child(1) > div:nth-child(2) > div {
    /*line-height: 30px;*/
    margin: 10px 0;
}

/*品味生活品味美食第三个div*/
.top > div:nth-child(3) > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) {
    display: flex;
    font-size: 30px;
    align-items: flex-end;
}

/*odd奇数   even偶数*/
.top > div:nth-child(3) > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > div:nth-child(even) {
    color: rgb(230, 145, 55);
    font-size: 40px;
}

/*选择器的用法*/
.top > div:nth-child(3) > div:nth-child(1) > div:nth-child(3) > div:nth-child(1) > div:nth-child(3) {
    margin-left: 50px;
}

.top > div:nth-child(3) > div:nth-child(1) > div:nth-child(3) > div:nth-child(2) {
    font-size: 40px;
    color: rgb(230, 145, 55);
    text-indent: 1.6em;
    /*   em 相对于当前字符 缩进2个字符*/
}
